package com.example.demo.service;

import com.example.demo.domain.Role;
import com.example.demo.domain.UserRole;

import java.util.List;

public interface IUserRoleService {

    void  addUserRole(UserRole userRole);

    UserRole getByUserIdAndRoleId(Long userId,Long roleId);

    List<Role> getRoleByUserId(Long userId);
}
